home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 9 / FM Towns Free Software Collection 9.iso / taropyon / silib / inc / sidefs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-16  |  605 b   |  39 lines

  1. #ifndef    _SIDEFS_H
  2. #define    _SIDEFS_H
  3.  
  4. #ifndef    _SITYPES_H
  5. #    include    <sitypes.h>
  6. #endif
  7.  
  8. typedef    struct                /* フレームデータ構造体    */
  9. {
  10.     SHORT    x1, y1, x2, y2;
  11. } FRAME_T;
  12.  
  13. typedef    struct                /* 矩形データ構造体        */
  14. {
  15.     SHORT    x0, y0, xs, ys;
  16. } RECTANGLE_T;
  17.  
  18. typedef    struct                /* ポイントデータ構造体    */
  19. {
  20.     SHORT    x, y;
  21. } POINT_T;
  22.  
  23. typedef struct _clip_t        /* クリップデータ構造体    */
  24. {
  25.     struct _clip_t    *next;
  26.     FRAME_T            fr;
  27. } CLIP_T;
  28.  
  29. typedef    unsigned int    COLOR_T;
  30.  
  31. typedef struct _sinamlst_t    /* リスト構造体    */
  32. {
  33.     struct _sinamlst_t    *next;
  34.     char                *p;
  35. } SINAMLST_T;
  36.  
  37.  
  38. #endif
  39.